package com.itheima.service.impl;

import com.itheima.dao.TeacherDao;
import com.itheima.service.TeacherService;

public class TeacherServiceImpl implements TeacherService {
    private TeacherDao teacherDao;

    public void setTeacherDao(TeacherDao teacherDao) {
        this.teacherDao = teacherDao;
    }

    @Override
    public void save() {
        teacherDao.save();
    }
}
